package com.dianzi.certification.service;

import com.dianzi.certification.entity.UserRole;
import com.dianzi.certification.vo.R;


/**
 * @author copa
 * @createDate 2022-03-07 22:55
 * @function
 */
public interface UserRoleService {
    R<UserRole> findByUserId(Integer userId);

    UserRole findByUserIdAndRoleId(Integer userId, Integer roleId);

    R<String> add(Integer userId, Integer roleId);
}
